/**
 * Project: push-center-biz-dal
 * 
 * File Created at 2014年10月9日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package com.greenline.push.dal.query;

import java.util.Date;

import com.greenline.push.dal.base.PageQuery;
import com.greenline.push.dal.pushcenter.dataobject.MsgRetryDO;

/**
 * @Type AppChannelQuery
 * @Desc
 * @author zhaoli
 * @date 2014年10月9日
 * @Version V1.0
 */
public class MsgRetryQuery extends PageQuery<MsgRetryDO> {
    private Long id;

    private Date gmtCreated;

    private Date gmtModified;
    // 备注
    private String memo;
    // 模板id
    private Long templateId;
    // 待发包
    private String packetJson;

    private String appId;
    // 渠道 :[微信,支付宝,echat,sms]
    private String appChannel;
    // 失败次数
    private Integer failCount;
    private Integer firstOfferStatus;// 第一次入队列 :成功 0 失败1

    public Integer getFirstOfferStatus() {
        return firstOfferStatus;
    }

    public void setFirstOfferStatus(Integer firstOfferStatus) {
        this.firstOfferStatus = firstOfferStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getPacketJson() {
        return packetJson;
    }

    public void setPacketJson(String packetJson) {
        this.packetJson = packetJson;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }

    public Integer getFailCount() {
        return failCount;
    }

    public void setFailCount(Integer failCount) {
        this.failCount = failCount;
    }

}
